package com.zxx.pattern.decoratorPattern.decorator3;

/**
 * @author zxx on 2021/7/13
 */
public abstract class DecoratorShape implements Shape {
    protected Shape shape;

    public DecoratorShape(Shape shape) {
        this.shape = shape;
    }

    public void draw() {
        shape.draw();
    }

}
